﻿@using PhoneStoreWeb.Areas.Admin


@model PhoneStoreWeb.Models.PhoneTablet

@{
    ViewBag.Title = "CreateDetails";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}

<script type="text/javascript">

    $(document).ready(function () {
        $("#GeneralID").change(function () {
            $.ajaxSetup({ cache: false });
            $.getJSON('/Admin/Product/GetPhoneGeneral/' + $(this).val(), function (data) {                
                $('#GeneralID_2G').html('<p>' + data[0].TwoGNetwork + '</p>');
                $('#GeneralID_3G').html('<p>' + data[0].ThreeGNetwork + '</p>');
                $('#GeneralID_4G').html('<p>' + data[0].FourGNetwork + '</p>');
                $('#GeneralID_Sim').html('<p>' + data[0].Sim + '</p>');
                $('#GeneralID_Announced').html('<p>' + data[0].Announced + '</p>');
                $('#GeneralID_Status').html('<p>' + data[0].Status + '</p>');
            });
        });

        $("#BodyID").change(function () {
            $.ajaxSetup({ cache: false });
            $.getJSON('/Admin/Product/GetPhoneBody/' + $(this).val(), function (data) {
                $('#BodyID_Dimensions').html('<p>' + data[0].Dimensions + '</p>');
                $('#BodyID_Weight').html('<p>' + data[0].Weight + '</p>');
            });
        });

        $("#DisplayID").change(function () {
            $.ajaxSetup({ cache: false });
            $.getJSON('/Admin/Product/GetPhoneDisplay/' + $(this).val(), function (data) {
                $('#DisplayID_Type').html('<p>' + data[0].Type + '</p>');
                $('#DisplayID_Size').html('<p>' + data[0].Size + '</p>');
                $('#DisplayID_Multitouch').html('<p>' + data[0].Multitouch + '</p>');
                $('#DisplayID_Protection').html('<p>' + data[0].Protection + '</p>');
            });
        });
        
        $("#SoundID").change(function () {
            $.ajaxSetup({ cache: false });
            $.getJSON('/Admin/Product/GetPhoneSound/' + $(this).val(), function (data) {
                $('#SoundID_AlertTypes').html('<p>' + data[0].AlertTypes + '</p>');
                $('#SoundID_LoudSpeaker').html('<p>' + data[0].LoudSpeaker + '</p>');
                $('#SoundID_ThreePointFiveMMJack').html('<p>' + data[0].ThreePointFiveMMJack + '</p>');
            });
        });

        $("#MemoryID").change(function () {
            $.ajaxSetup({ cache: false });
            $.getJSON('/Admin/Product/GetPhoneMemory/' + $(this).val(), function (data) {
                $('#MemoryID_CardSlot').html('<p>' + data[0].CardSlot + '</p>');
                $('#MemoryID_Internal').html('<p>' + data[0].Internal + '</p>');               
            });
        });

        $("#DataID").change(function () {
            $.ajaxSetup({ cache: false });
            $.getJSON('/Admin/Product/GetPhoneData/' + $(this).val(), function (data) {
                $('#DataID_GPRS').html('<p>' + data[0].GPRS + '</p>');
                $('#DataID_EDGE').html('<p>' + data[0].EDGE + '</p>');
                $('#DataID_Speed').html('<p>' + data[0].Speed + '</p>');
                $('#DataID_WLAN').html('<p>' + data[0].WLAN + '</p>');
                $('#DataID_Bluetooth').html('<p>' + data[0].Bluetooth + '</p>');
                $('#DataID_NFC').html('<p>' + data[0].NFC + '</p>');
                $('#DataID_InfraredPort').html('<p>' + data[0].InfraredPort + '</p>');
                $('#DataID_USB').html('<p>' + data[0].USB + '</p>');
            });
        });

        $("#CameraID").change(function () {
            $.ajaxSetup({ cache: false });
            $.getJSON('/Admin/Product/GetPhoneCamera/' + $(this).val(), function (data) {
                $('#CameraID_PrimaryCamera').html('<p>' + data[0].PrimaryCamera + '</p>');
                $('#CameraID_Features').html('<p>' + data[0].Features + '</p>');
                $('#CameraID_Video').html('<p>' + data[0].Video + '</p>');
                $('#CameraID_SecondaryCamera').html('<p>' + data[0].SecondaryCamera + '</p>');
            });
        });

        $("#FeaturesID").change(function () {
            $.ajaxSetup({ cache: false });
            $.getJSON('/Admin/Product/GetPhoneFeatures/' + $(this).val(), function (data) {
                $('#FeaturesID_OS').html('<p>' + data[0].OS + '</p>');
                $('#FeaturesID_Chipset').html('<p>' + data[0].Chipset + '</p>');
                $('#FeaturesID_CPU').html('<p>' + data[0].CPU + '</p>');
                $('#FeaturesID_GPU').html('<p>' + data[0].GPU + '</p>');
                $('#FeaturesID_Sensors').html('<p>' + data[0].Sensors + '</p>');
                $('#FeaturesID_Messaging').html('<p>' + data[0].Messaging + '</p>');
                $('#FeaturesID_Browser').html('<p>' + data[0].Browser + '</p>');
                $('#FeaturesID_Radio').html('<p>' + data[0].Radio + '</p>');
                $('#FeaturesID_GPS').html('<p>' + data[0].GPS + '</p>');
                $('#FeaturesID_Java').html('<p>' + data[0].Java + '</p>');
                $('#FeaturesID_Colors').html('<p>' + data[0].Colors + '</p>');
                $('#FeaturesID_Others').html('<p>' + data[0].Others + '</p>');
            });
        });
        
        $("#BatteryID").change(function () {
            $.ajaxSetup({ cache: false });
            $.getJSON('/Admin/Product/GetPhoneBattery/' + $(this).val(), function (data) {
                $('#BatteryID_Model').html('<p>' + data[0].Model + '</p>');
                $('#BatteryID_StandBy').html('<p>' + data[0].StandBy + '</p>');
                $('#BatteryID_TalkTime').html('<p>' + data[0].TalkTime + '</p>');
                $('#BatteryID_MusicPlay').html('<p>' + data[0].MusicPlay + '</p>');
            });
        });

        $("#MiscID").change(function () {
            $.ajaxSetup({ cache: false });
            $.getJSON('/Admin/Product/GetPhoneMisc/' + $(this).val(), function (data) {
                $('#MiscID_SAR_US').html('<p>' + data[0].SAR_US + '</p>');
                $('#MiscID_SAR_EU').html('<p>' + data[0].SAR_EU + '</p>');
                $('#MiscID_PriceGroup').html('<p>' + data[0].PriceGroup + '</p>');                
            });
        });
                
        $("#TestsID").change(function () {
            $.ajaxSetup({ cache: false });
            $.getJSON('/Admin/Product/GetPhoneTests/' + $(this).val(), function (data) {
                $('#TestsID_Display').html('<p>' + data[0].Display + '</p>');
                $('#TestsID_LoudSpeaker').html('<p>' + data[0].LoudSpeaker + '</p>');
                $('#TestsID_AudioQuality').html('<p>' + data[0].AudioQuality + '</p>');
                $('#TestsID_Camera').html('<p>' + data[0].Camera + '</p>');
            });
        });
       
    });
  
</script>


<!--  start nav-outer-repeat................................................................................................. START -->
<div class="nav-outer-repeat">
    <!--  start nav-outer -->
    <div class="nav-outer">

        <!-- start nav-right -->
        <div id="nav-right">

            <div class="nav-divider">&nbsp;</div>
            <div class="showhide-account">
                <img src="~/Areas/Admin/Images/shared/nav/nav_myaccount.gif" width="93" height="14" alt="" />
            </div>
            <div class="nav-divider">&nbsp;</div>
            <a href="" id="logout">
                <img src="~/Areas/Admin/Images/shared/nav/nav_logout.gif" width="64" height="14" alt="" /></a>
            <div class="clear">&nbsp;</div>

            <!--  start account-content -->
            <div class="account-content">
                <div class="account-drop-inner">
                    <a href="" id="acc-settings">Settings</a>
                    <div class="clear">&nbsp;</div>
                    <div class="acc-line">&nbsp;</div>
                    <a href="" id="acc-details">Personal details </a>
                    <div class="clear">&nbsp;</div>
                    <div class="acc-line">&nbsp;</div>
                    <a href="" id="acc-project">Project details</a>
                    <div class="clear">&nbsp;</div>
                    <div class="acc-line">&nbsp;</div>
                    <a href="" id="acc-inbox">Inbox</a>
                    <div class="clear">&nbsp;</div>
                    <div class="acc-line">&nbsp;</div>
                    <a href="" id="acc-stats">Statistics</a>
                </div>
            </div>
            <!--  end account-content -->

        </div>
        <!-- end nav-right -->


        <!--  start nav -->
        <div class="nav">
            <div class="table">

                <ul class="select">
                    <li><a href="#nogo"><b>Dashboard</b><!--[if IE 7]><!--></a><!--<![endif]-->
                        <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <div class="select_sub">
                            <ul class="sub">
                                <li><a href="#nogo">Dashboard Details 1</a></li>
                                <li><a href="#nogo">Dashboard Details 2</a></li>
                                <li><a href="#nogo">Dashboard Details 3</a></li>
                            </ul>
                        </div>
                        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                </ul>

                <div class="nav-divider">&nbsp;</div>

                <ul class="current">
                    <li><a href="#nogo"><b>Mặt hàng</b><!--[if IE 7]><!--></a><!--<![endif]-->
                        <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <div class="select_sub show">
                            <ul class="sub">
                                <li><a href="~/Admin/Product/Index">Danh sách</a></li>
                                <li class="sub_show"><a href="~/Admin/Product/Create">Thêm</a></li>
                                <li><a href="#nogo">Xóa</a></li>
                            </ul>
                        </div>
                        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                </ul>

                <div class="nav-divider">&nbsp;</div>

                <ul class="select">
                    <li><a href="#nogo"><b>Categories</b><!--[if IE 7]><!--></a><!--<![endif]-->
                        <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <div class="select_sub">
                            <ul class="sub">
                                <li><a href="#nogo">Categories Details 1</a></li>
                                <li><a href="#nogo">Categories Details 2</a></li>
                                <li><a href="#nogo">Categories Details 3</a></li>
                            </ul>
                        </div>
                        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                </ul>

                <div class="nav-divider">&nbsp;</div>

                <ul class="select">
                    <li><a href="#nogo"><b>Clients</b><!--[if IE 7]><!--></a><!--<![endif]-->
                        <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <div class="select_sub">
                            <ul class="sub">
                                <li><a href="#nogo">Clients Details 1</a></li>
                                <li><a href="#nogo">Clients Details 2</a></li>
                                <li><a href="#nogo">Clients Details 3</a></li>

                            </ul>
                        </div>
                        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                </ul>

                <div class="nav-divider">&nbsp;</div>

                <ul class="select">
                    <li><a href="#nogo"><b>News</b><!--[if IE 7]><!--></a><!--<![endif]-->
                        <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <div class="select_sub">
                            <ul class="sub">
                                <li><a href="#nogo">News details 1</a></li>
                                <li><a href="#nogo">News details 2</a></li>
                                <li><a href="#nogo">News details 3</a></li>
                            </ul>
                        </div>
                        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                </ul>

                <div class="clear"></div>
            </div>
            <div class="clear"></div>
        </div>
        <!--  start nav -->

    </div>
    <div class="clear"></div>
    <!--  start nav-outer -->
</div>


<!-- start nav-outer-repeat................................................... END -->



<div class="clear"></div>
<!-- start content-outer -->
<div id="content-outer">
    <!-- start content -->
    <div id="content">
        <div id="page-heading">
            <h1>Thêm sản phẩm</h1>
        </div>
        <div></div>
        <table border="0" id="content-table">
            <tr>
                <th rowspan="3" class="sized">
                    <img src="~/Areas/Admin/Images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
                <th class="topleft"></th>
                <td id="tbl-border-top">&nbsp;</td>
                <th class="topright"></th>
                <th rowspan="3" class="sized">
                    <img src="~/Areas/Admin/Images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
            </tr>
            <tr>
                <td id="tbl-border-left"></td>
                <td>
                    <!-- start content-table-inner -->

                    <div id="content-table-inner">
                        <table border="0">
                            <tr>
                                <td>
                                    <!-- start step-holder -->
                                    <div id="step-holder">
                                        <div class="step-no-off">1</div>
                                        <div class="step-light-left"><a href="">Thông tin chung</a></div>
                                        <div class="step-light-right">&nbsp;</div>
                                        <div class="step-no">2</div>
                                        <div class="step-dark-left">Thông tin chi tiết</div>
                                        <div class="step-dark-right">&nbsp;</div>
                                        <div class="step-no-off">3</div>
                                        <div class="step-light-left">Kết quả</div>
                                        <div class="step-light-round">&nbsp;</div>
                                        <div class="clear"></div>
                                    </div>
                                    <!--  end step-holder -->

                                    <!-- start id-form -->

                                    @using (Html.BeginForm())
                                    {
                                        @Html.AntiForgeryToken()
                                        @Html.ValidationSummary(true)

                                        <!-- start id-form -->
                                        
                                        <table border="0" id="id-form">

                                            @Html.HiddenFor(m=>m.PhoneTabletID)

                                            @* General *@
                                            <tr>
                                                <th><font color="red">Thông tin chung</font></th>

                                                <td>                                                   
                                                    @Html.DropDownListFor(m => m.GeneralID, (SelectList)ViewBag.GeneralID, "--Select one--")
                                                </td>
                                            </tr>

                                            <tr>
                                                <th>Mạng 2G</th>  
                                                <td id="GeneralID_2G"  style="width:100%"></td>                                              
                                            </tr>

                                            <tr>
                                                <th>Mạng 3G</th>
                                                <td id="GeneralID_3G"  style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Mạng 4G</th>
                                                <td id="GeneralID_4G"  style="width:100%"></td>
                                            </tr> 
                                            
                                            <tr>
                                                <th>Sim</th>
                                                <td id="GeneralID_Sim"  style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Giới thiệu</th>
                                                <td id="GeneralID_Announced"  style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Trạng thái</th>
                                                <td id="GeneralID_Status"  style="width:100%"></td>
                                            </tr>
                                                                                       
                                            <tr>
                                                <th>@Html.CheckBoxFor(m=>m.IsGeneralHighlighted)</th>
                                                <td>Highlighted</td>
                                            </tr>

                                            @* Body *@
                                           <tr>
                                                <th><font color="red">Thân máy</font></th>

                                                <td>                                                   
                                                    @Html.DropDownListFor(m => m.BodyID, (SelectList)ViewBag.BodyID, "--Select one--")
                                                </td>
                                            </tr>
                                            
                                            <tr>
                                                <th>Kích thước</th>
                                                <td id="BodyID_Dimensions" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Trọng lượng</th>
                                                <td id="BodyID_Weight" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>@Html.CheckBoxFor(m=>m.IsBodyHighlighted)</th>
                                                <td>Highlighted</td>
                                            </tr>

                                            @* Display *@
                                            <tr>
                                                <th><font color="red">Màn hình</font></th>

                                                <td>                                                   
                                                    @Html.DropDownListFor(m => m.DisplayID, (SelectList)ViewBag.DisplayID, "--Select one--")
                                                </td>
                                            </tr>

                                            <tr>
                                                <th>Loại</th>
                                                <td id="DisplayID_Type" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Kích thước</th>
                                                <td id="DisplayID_Size" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Cảm ứng đa điểm</th>
                                                <td id="DisplayID_Multitouch" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Chế độ bảo vệ</th>
                                                <td id="DisplayID_Protection" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>@Html.CheckBoxFor(m=>m.IsDisplayHighlighted)</th>
                                                <td>Highlighted</td>
                                            </tr>

                                            @* Sound *@
                                            <tr>
                                                <th><font color="red">Loa</font></th>

                                                <td>                                                   
                                                    @Html.DropDownListFor(m => m.SoundID, (SelectList)ViewBag.SoundID, "--Select one--")
                                                </td>
                                            </tr>

                                            <tr>
                                                <th>Loại cảnh báo</th>
                                                <td id="SoundID_AlertTypes" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Loa ngoài</th>
                                                <td id="SoundID_LoudSpeaker" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Jack cắm</th>
                                                <td id="SoundID_ThreePointFiveMMJack" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>@Html.CheckBoxFor(m=>m.IsSoundHighlighted)</th>
                                                <td>Highlighted</td>
                                            </tr>

                                            @* Memory *@
                                            <tr>
                                                <th><font color="red">Bộ nhớ</font></th>

                                                <td>                                                   
                                                    @Html.DropDownListFor(m => m.MemoryID, (SelectList)ViewBag.MemoryID, "--Select one--")
                                                </td>
                                            </tr>

                                            <tr>
                                                <th>Khe cắm</th>
                                                <td id="MemoryID_CardSlot" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Bộ nhớ trong</th>
                                                <td id="MemoryID_Internal" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>@Html.CheckBoxFor(m=>m.IsMemoryHighlighted)</th>
                                                <td>Highlighted</td>
                                            </tr>

                                            @* Data *@
                                            <tr>
                                                <th><font color="red">Dữ liệu</font></th>

                                                <td>                                                   
                                                    @Html.DropDownListFor(m => m.DataID, (SelectList)ViewBag.DataID, "--Select one--")
                                                </td>
                                            </tr>

                                            <tr>
                                                <th>GPRS</th>
                                                <td id="DataID_GPRS" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>EDGE</th>
                                                <td id="DataID_EDGE" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Tốc độ mạng</th>
                                                <td id="DataID_Speed" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Wifi</th>
                                                <td id="DataID_WLAN" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Bluetooth</th>
                                                <td id="DataID_Bluetooth" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>NFC</th>
                                                <td id="DataID_NFC" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Hồng ngoại</th>
                                                <td id="DataID_InfraredPort" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>USB</th>
                                                <td id="DataID_USB" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>@Html.CheckBoxFor(m=>m.IsDataHighlighted)</th>
                                                <td>Highlighted</td>
                                            </tr>

                                            @* Camera *@
                                            <tr>
                                                <th><font color="red">Máy ảnh</font></th>

                                                <td>                                                   
                                                    @Html.DropDownListFor(m => m.CameraID, (SelectList)ViewBag.CameraID, "--Select one--")
                                                </td>
                                            </tr>

                                            <tr>
                                                <th>Camera chính</th>
                                                <td id="CameraID_PrimaryCamera" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Đặc tính</th>
                                                <td id="CameraID_Features" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Video</th>
                                                <td id="CameraID_Video" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Camera phụ</th>
                                                <td id="CameraID_SecondaryCamera" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>@Html.CheckBoxFor(m=>m.IsCameraHighlighted)</th>
                                                <td>Highlighted</td>
                                            </tr>

                                            @* Features *@
                                            <tr>
                                                <th><font color="red">Đặc tính</font></th>

                                                <td>                                                   
                                                    @Html.DropDownListFor(m => m.FeaturesID, (SelectList)ViewBag.FeaturesID, "--Select one--")
                                                </td>
                                            </tr>

                                            <tr>
                                                <th>Hệ điều hành</th>
                                                <td id="FeaturesID_OS" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Chipset</th>
                                                <td id="FeaturesID_Chipset" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>CPU</th>
                                                <td id="FeaturesID_CPU" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>GPU</th>
                                                <td id="FeaturesID_GPU" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Cảm biến</th>
                                                <td id="FeaturesID_Sensors" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Tin nhắn</th>
                                                <td id="FeaturesID_Messaging" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Trình duyệt</th>
                                                <td id="FeaturesID_Browser" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>FM Radio</th>
                                                <td id="FeaturesID_Radio" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>GPS</th>
                                                <td id="FeaturesID_GPS" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Java</th>
                                                <td id="FeaturesID_Java" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Màu sắc</th>
                                                <td id="FeaturesID_Colors" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Các đặc tính khác</th>
                                                <td id="FeaturesID_Others" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>@Html.CheckBoxFor(m=>m.IsFeaturesHighlighted)</th>
                                                <td>Highlighted</td>
                                            </tr>

                                            @* Battery *@
                                            <tr>
                                                <th><font color="red">Nguồn</font></th>

                                                <td>                                                   
                                                    @Html.DropDownListFor(m => m.BatteryID, (SelectList)ViewBag.BatteryID, "--Select one--")
                                                </td>
                                            </tr>

                                            <tr>
                                                <th>Dung lượng bin</th>
                                                <td id="BatteryID_Model" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Thời gian chờ</th>
                                                <td id="BatteryID_StandBy" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Thời gian đàm thoại</th>
                                                <td id="BatteryID_TalkTime" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Thời gian chơi nhạc</th>
                                                <td id="BatteryID_MusicPlay" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>@Html.CheckBoxFor(m=>m.IsBatteryHighlighted)</th>
                                                <td>Highlighted</td>
                                            </tr>

                                            @* Misc *@
                                            <tr>
                                                <th><font color="red">Linh tinh</font></th>

                                                <td>                                                   
                                                    @Html.DropDownListFor(m => m.MiscID, (SelectList)ViewBag.MiscID, "--Select one--")
                                                </td>
                                            </tr>

                                            <tr>
                                                <th>SAR US</th>
                                                <td id="MiscID_SAR_US" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>SAR EU</th>
                                                <td id="MiscID_SAR_EU" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Nhóm giá</th>
                                                <td id="MiscID_PriceGroup" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>@Html.CheckBoxFor(m=>m.IsMiscHighlighted)</th>
                                                <td>Highlighted</td>
                                            </tr>

                                            @* Tests *@
                                            <tr>
                                                <th><font color="red">Thử nghiệm</font></th>

                                                <td>                                                   
                                                    @Html.DropDownListFor(m => m.TestsID, (SelectList)ViewBag.TestsID, "--Select one--")
                                                </td>
                                            </tr>

                                            <tr>
                                                <th>Màn hình</th>
                                                <td id="TestsID_Display" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Loa ngoài</th>
                                                <td id="TestsID_LoudSpeaker" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Chất lượng Audio</th>
                                                <td id="TestsID_AudioQuality" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>Máy ảnh</th>
                                                <td id="TestsID_Camera" style="width:100%"></td>
                                            </tr>

                                            <tr>
                                                <th>@Html.CheckBoxFor(m=>m.IsTestsHighlighted)</th>
                                                <td>Highlighted</td>
                                            </tr>
                                            
                                            <tr>
                                                <th>&nbsp;</th>
                                                <td>
                                                    <input type="submit" value="CreateDetails" class="form-submit" />
                                                    <input type="reset" value="" class="form-reset" />
                                                </td>
                                                <td></td>
                                            </tr>
                                        </table>                        
                                    }

                                    <!-- end id-form -->
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <td>
                                    <img src="~/Areas/Admin/Images/shared/blank.gif" width="695" height="1" alt="blank" /></td>
                                <td></td>
                            </tr>
                            
                        </table>
                        <div class="clear"></div>
                    </div>
                    <!-- end content-table-inner -->
                </td>
                <td id="tbl-border-right"></td>
            </tr>
            <tr>
                <th class="sized bottomleft"></th>
                <td id="tbl-border-bottom">&nbsp;</td>
                <th class="sized bottomright"></th>
            </tr>
        </table>
        <div class="clear">&nbsp;</div>
    </div>
    <!-- end content -->
    <div class="clear">&nbsp;</div>
</div>

<!-- end content-outer -->

